package business_logic.view;

import java.awt.Color;

public class ScoreText extends TextView
{

    private static final String m_scoreText = "Puntaje: ";
    
    public ScoreText(int score)
    {
        super( new String (m_scoreText+score) );
        this.setColor(Color.WHITE);
        this.setSize(20);
        this.setPosition( 20, 420 );
        
    }
    
    public void updateScore( int newScore )
    {
        this.setText(m_scoreText+newScore);
    }
    
    @Override
    public boolean isDone()
    {
        return false;
    }

}
